const express = require('express');
const path = require('path');
const http = require('http');

// 创建应用
const app = express();

// 读取静态文件
app.use(express.static(path.join(__dirname, 'public')));

// 启动服务
app.listen(9999, () => {
  console.log('http://localhost:9999/index.html')
});
